package myschool.object.homework;

public class Student {
    String name;
    int age;
    String course;
    String Interest;
    public void information(){
        System.out.println("显示个人信息\n"+"姓名\t"+"年龄\t"+"参加课程\t"+"兴趣\n"+name+"\t"+age+"\t"+course+"\t"+Interest);
    }
}
